Setting SNAPCRAFT_ENABLE_SENTRY= causes stacktrace (empty string value not truthy)
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
$ SNAPCRAFT_ENABLE_SENTRY= snapcraft
Skipping pull dummy-part (already ran)
Preparing to build dummy-part
Building dummy-part
Error in sys.excepthook:
Traceback (most recent call last):
File "/home/rumo/dev/snapcraft/snapcraft/cli/_errors.py", line 76, in exception_handler
os.getenv('SNAPCRAFT_ENABLE_SENTRY', 'n')) == 1
File "/usr/lib/python3.5/distutils/util.py", line 317, in strtobool
raise ValueError("invalid truth value %r" % (val,))
ValueError: invalid truth value ''
The same happens with `SNAPCRAFT_SEND_ERROR_DATA=`.
Evaluation history
No evaluation history available.